package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "敏感词管理", tags = "sensitive", description = "敏感词管理API")
public interface AdSensitiveControllerApis {

    @ApiOperation("敏感词分页列表查询")
    ResponseResult findListPage(SensitiveDto dto);

    @ApiOperation("敏感词数据新增")
    ResponseResult insert(AdSensitive adSensitive);

    @ApiOperation("敏感词数据修改")
    ResponseResult update(AdSensitive adSensitive);

    @ApiOperation("敏感词数据删除")
    ResponseResult delete(Integer id);
}
